<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>HH_POPUP structure</TITLE>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<BODY>

<H1>HH_POPUP structure</H1>

Use this structure to specify or modify the attributes of a pop-up window.

<h2>Used by</h2>
<ul>
<li><a href="cmd_hh_display_text_popup.htm">HH_DISPLAY_TEXT_POPUP</a></li> 
</ul> 


<h2>HH_POPUP structure syntax</h2>
<p><PRE><code>
typedef struct tagHH_POPUP
<br>{
<br>     int         cbStruct;      
<br>     HINSTANCE   hinst;         
<br>     UINT        idString;      
<br>     LPCTStr     pszText;       
<br>     POINT       pt;            
<br>     COLORREF    clrForeground; 
<br>     COLORREF    clrBackground; 
<br>     RECT        rcMargins;     
<br>     LPCTStr     pszFont; 
<br>} HH_POPUP;
</p></PRE></code>

<br>
<table border=1 cellpadding=3 cellspacing=0 width=100%>
<TR>
<TH><b>Member</b>
</TH>
<TH><b>Description</b>
</TH>
</TR>

<TR>
<TD><i>cbStruct</i>
</TD>
<TD>Specifies the size of the structure. This value must always be filled in before passing the structure to HtmlHelp().
</TD>
</TR>

<TR>
<TD><i>hinst</i>
</TD>
<TD>Instance handle of the program or DLL to retrieve the string resource from. Ignored if <i>idString</i> is zero, or if <i>idString</i> specifies a file name.

</TD>
</TR>

<TR>
<TD><i>idString</i>
</TD>
<TD>
Specifies zero, a resource ID, or a topic number in a text file.
</TD>
</TR>

<TR>
<TD><i>pszText</i>
</TD>
<TD>Specifies the text to display if <i>idString</i> is zero.
</TD>
</TR>

<TR>
<TD><i>pt</i>
</TD>
<TD>Specifies (in pixels) where the top center of the pop-up window should be located.
</TD>
</TR>

<TR>
<TD><i>clrForeground</i>
</TD>
<TD>Specifies the RGB value to use for the foreground color of the pop-up window. To use the system color for the window text, specify -1.
</TD>
</TR>

<TR>
<TD><i>clrBackground</i>
</TD>
<TD>Specifies the RGB value to use for the background color of the pop-up window. To use the system color for the window background, specify -1.
</TD>
</TR>

<TR>
<TD><i>rcMargins</i>
</TD>
<TD>Specifies (in pixels) the margins to use on the left, top, right, and bottom sides of the pop-up window. The default for all rectangle members is -1.
</TD>
</TR>

<TR>
<TD><i>pszFont</i>
</TD>
<TD>Specifies the font attributes to use for the text in the pop-up window.
<p>Use the following format to specify font family, point size, character set, and font format:</p>
<p><code>facename[, point size[, charset[ BOLD ITALIC UNDERLINE]]]</code></p>
<p>To omit an attribute, enter a comma. For example, to specify  bold, 10-pt, MS Sans Serif font, <i>pszFont</i> would be:</p>
<p><code>MS Sans Serif, 10, , BOLD</code></p>
</TD>
</TR>
</TABLE>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ov_about_htmlhelp_structures.htm"><img src="home.gif" width=20 height=18 alt="link to overview topic" border="0"></a>
</td>
<td><a href="ov_about_htmlhelp_structures.htm">About structures</A>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
</tr>
</table>




</BODY>
</HTML>
